package interfacekeyword;


/**
 * @License: (C) Copyright 2013-2022
 * @Contact: abcque@outlook.com
 * @IDE: IntelliJ IDEA
 * @Encoding: utf-8
 * @Project: st2214st2215
 * @Package: interfacekeyword
 * @File: InterfaceTest.java
 * @Time: 2023/3/28 14:40
 * @Author: abcque
 * @Description:
 * @Modifier:
 * @ModifyDate:
 * @ModifyRemark:
 */
public class InterfaceTest {
    public static void main(String[] args) {
        ComparableCircle c1 = new ComparableCircle();
        ComparableCircle c2 = new ComparableCircle();

        c1.setRadius(1);
        c2.setRadius(2);

        System.out.println(c1.compareTo(c2));
        System.out.println(c2.compareTo(c1));
    }
}
